﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace CloudShot.Editor.CanvasFigures
{
  public class FocusRectangle : CanvasObject
  {
    public Rectangle Rectangle { get; set; }

    public override void Draw(Graphics graphics) {}

    public override void DrawMarkup(Graphics graphics, Rectangle[] screens)
    {
      if (Rectangle == Rectangle.Empty)
        return;

      ControlPaint.DrawFocusRectangle(graphics, Rectangle, Color.Black, Color.Transparent);
    }

    public override Rectangle GetBoundingBox()
    {
      return Rectangle;
    }

    protected override CanvasObject CloneIntrenal()
    {
      throw new NotImplementedException();
    }
  }
}